﻿using Csla;
using System;

namespace Ent.Inscripcion.Core.Core
{
    [Serializable]
    public class DatoEstadisticaCriterio : BusinessBase<DatoEstadisticaCriterio>
    {
        #region Business Methods

        private static PropertyInfo<string> VariableProperty = RegisterProperty<string>(o => o.Variable, "Variable");
        public string Variable
        {
            get { return GetProperty(VariableProperty); }
            set { SetProperty(VariableProperty, value); }
        }

        public Tipo TipoReporte;
        #endregion

        

        #region Factory Methods

        public static DatoEstadisticaCriterio NewDatoEstadisticaCriterio()
        {
            return DataPortal.Create<DatoEstadisticaCriterio>();
        }

        

        private DatoEstadisticaCriterio()
        { /* Require use of factory methods */ }

        #endregion


    }

}